const express = require("express");
const router = express.Router();
const commentHandler = require("../router_handler/comment.js");

router.post("/comment/comment", commentHandler.comment);
router.post("/comment/reply", commentHandler.reply);
router.get("/comment/getCommentById", commentHandler.getCommentById);
router.get("/comment/getReplyById", commentHandler.getReplyById);
router.get("/comment/getAllComment", commentHandler.getAllComment);
router.delete("/comment/deleteCommentById", commentHandler.deleteCommentById);
router.delete("/comment/deleteReplyById", commentHandler.deleteReplyById);


module.exports = router;
